package com.hs.gateway;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.context.config.annotation.RefreshScope;

/**
 * 网关启动程序
 */
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class},scanBasePackages = {"com.hs.gateway","com.hs.common.captcha"})
@RefreshScope
public class HsGatewayApplication {
    public static void main(String[] args) {
        SpringApplication.run(HsGatewayApplication.class, args);
    }
}
